home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / os20 / wb / fv11.lha / FileView.doc < prev    next >
Text File  |  1993-01-22  |  4KB  |  101 lines

  1.  
  2. NAME
  3.   FileView - AppIcon link to file viewer.  WB2.0 and above only.
  4.  
  5. SYSNOPSIS
  6.   FileView AppName/S
  7.  
  8. DESCRIPTION
  9.   Fileview sets up an AppIcon on the Workbench window.  When a file is
  10. dropped onto this icon  it will attempt to load it  into whatever file
  11. viewer is specified by the user.
  12.  
  13. STARTING
  14.   CLI -  To run the program from CLI, use the command
  15.                run <NIL: >NIL: FileView 'AppName'
  16.          where 'AppName' is the name that you want to appear  with the
  17.          AppIcon.
  18.   WorkBench - The  easiest  way is to  put  the file  in the WBStartup
  19.               drawer.  The AppIcon will get it's name from the name of
  20.               the program.
  21.   NOTES:
  22.        For both of the  above options for  starting, the  program will
  23.        try to find an attached .info file to use as the AppIcon image.
  24.        If this is not found, it  will resort to the default  icon.  At
  25.        current this icon is not  at all pretty, due to  a huge lack of
  26.        artistic talent on my part.  Any better icons should be sent to
  27.        me at the address below, and if I like them they will be put in
  28.        the next release and the artist credited accordingly.
  29.  
  30.        Also, the file  viewer that is  used is  decided in one  of two
  31.        ways.  Firstly, the progran looks for an environmental variable
  32.        called TextViewer.  If this is set, the program will try to use
  33.        the viewer  names within.  If the  variable is not set, it will
  34.        try to  use the  default of SYS:Utilities/More.  The textviewer
  35.        can be set by putting the following line in your startup:
  36.  
  37.              setenv TextViewer 'ViewerName'
  38.  
  39.        where 'ViewerName' is the name AND FULL PATH of the viewer that
  40.        you wish to use eg/ C:PPMore or SYS:Utilities/MultiView.
  41.        Alternatively,  do the 'setenv'  command from a  shell and then
  42.        type:
  43.  
  44.              copy Env:TextViewer EnvArc:
  45.  
  46.        This will then have set the variable in a more 'permanent' way,
  47.        and to change it you will have to do the same steps again.
  48.  
  49. OPTIONS
  50.   AppName/S    This is the name that you  wish the viewer icon to have
  51. when it appears on the  Workbench screen.  If  running from Workbench,
  52. it will inherit the name of the program itself.
  53.  
  54. FILES
  55.   FileView          - The program itself
  56.   FileView.info     - An icon file for the AppIcon
  57.   FileView.doc      - This documentation file...
  58.   FileView.doc.info - ... and it's icon
  59.  
  60. NOTES
  61.   This command has a WB2.04 version string which can be viewed using
  62.    version FileView
  63.  
  64.  
  65. BUGS
  66.   None known,  though not tested under  all situations (tested under
  67. kickstarts 37.173 and 39.106).
  68.  
  69. AUTHORS
  70.     V1.0 written by James McDonald and Mark McPherson
  71.     11th January 1993.
  72.  
  73.     V1.1 updated by James McDonald.
  74.     Added requester for confirmation of quitting.
  75.  
  76.   Versions 1.0, 1.1 written in C.
  77.  
  78. SEE ALSO
  79.    None.
  80.  
  81. DISTRIBUTION
  82.   All code is copyright 1993 Mark McPherson and James McDonald.  It is
  83. freely distributable and can be copied freely.  It may not be modified 
  84. and I ask that this documentation  file accompanies  the main program.
  85. It must not  be  sold  or  included  on  any  disk  that  will be sold 
  86. commercially,  without my permission  (James McDonald).  Commodore has
  87. this permission already.  Please send any comments, bug reports, ideas 
  88. for enhancements etc to me at:
  89.  
  90.    James McDonald
  91.    5 Rotherfield Avenue
  92.    Bexhill-On-Sea
  93.    East Sussex
  94.    England
  95.    TN40 1SY
  96.  
  97. or Internet:   jgm@dcs.ed.ac.uk     (James McDonald)
  98.                msm@ukc.ac.uk        (Mark McPherson)
  99.  
  100. Written and (C) 21st January 1993 by James McDonald, Mark McPherson.
  101.